<!--
 * @Description: 
 * @Author: rendc
 * @Date: 2022-06-07 15:20:00
 * @LastEditors: rendc
 * @LastEditTime: 2022-06-07 15:21:21
-->
<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>let</title>
  <script>
    var a = "a"
    let b = "b"
    console.log('🤡 CC - a', a)
    console.log('🤡 CC - b', b)
    console.log('🤡 CC - window', window.a)
    console.log('🤡 CC - window', window.b)
  </script>
</head>

<body>
  window-let-var
</body>

</html>